package com.yusi.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author yusi
 * @since 2022-01-10
 */
@TableName("pathdis")
@ApiModel(value = "Pathdis对象", description = "")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Pathdis implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("起飞机场")
    private Integer airport1id;

    @ApiModelProperty("降落机场")
    private Integer airport2id;

    @ApiModelProperty("航线距离")
    private Double pathdis;

    @ApiModelProperty("1正常2异常3弃用")
    private Integer isenable;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("起飞机场")
    @TableField(exist = false)
    private String airport1;

    @ApiModelProperty("降落机场")
    @TableField(exist = false)
    private String airport2;


}
